<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login</title>
</head>
<body>
	<script type='text/javascript'>
	
		function Login(email, password){
			
								
				window.location = "/swimtwoWEB/LoginServlet?email=" + email.value +"password=" + password.value;		
		}
		
	</script>

	<h1>Login To SWIMv2 Web Site </h1><br>

		<table border="0" cellpadding="1" cellspacing="2" width="100%">
			
			<TBODY>		
			<tr>
				<td align="left" width="0%">E_mail: </td>
				<td align="left" width="100%"><INPUT id="email" name="email" type="" value=""></td>
			</tr>
			<tr>
				<td align="left" width="0%">Password: </td>
				<td align="left" width="100%"><INPUT id="password" name="password" type="password" value=""></td>
			</tr>
			<tr>
				<td align="left" width="0%"></td>
				<td align="left" width="50%"><input type="submit" value="Submit" onClick="Login(document.getElementById('email'),  document.getElementById('password'))"></td>
			</tr>
			</TBODY>
			
		</table>	



</body>
</html>